package com.ruoyi.damage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 器材损坏记录对象 algs_equipment_damage
 * 
 * @author ruoyi
 * @date 2023-03-20
 */
public class AlgsEquipmentDamage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 器材ID */
    private Long equipmentDamageId;

    /** 实验室申请ID（外键） */
    @Excel(name = "实验室申请ID", readConverterExp = "外=键")
    private Long laboratoryApplicationId;

    /** staff表姓名 */
    @Excel(name = "姓名")
    private String staffName;

    /** algs_experimental_apparatus 表器材名称 */
    @Excel(name = "器材名称")
    private String experimentalApparatusName;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date equipmentDamageDate;

    /** 器材编号ID（外键） */
    @Excel(name = "器材编号ID", readConverterExp = "外=键")
    private Long experimentalApparatusId;

    /** 损坏数量 */
    @Excel(name = "损坏数量")
    private Long equipmentDamageNum;

    /** 负责人ID（外键） */
    @Excel(name = "负责人ID", readConverterExp = "外=键")
    private Long staffId;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long equipmentDamageBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String equipmentDamageBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String equipmentDamageBy3;

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getExperimentalApparatusName() {
        return experimentalApparatusName;
    }

    public void setExperimentalApparatusName(String experimentalApparatusName) {
        this.experimentalApparatusName = experimentalApparatusName;
    }

    public void setEquipmentDamageId(Long equipmentDamageId) 
    {
        this.equipmentDamageId = equipmentDamageId;
    }

    public Long getEquipmentDamageId() 
    {
        return equipmentDamageId;
    }
    public void setLaboratoryApplicationId(Long laboratoryApplicationId) 
    {
        this.laboratoryApplicationId = laboratoryApplicationId;
    }

    public Long getLaboratoryApplicationId() 
    {
        return laboratoryApplicationId;
    }
    public void setEquipmentDamageDate(Date equipmentDamageDate) 
    {
        this.equipmentDamageDate = equipmentDamageDate;
    }

    public Date getEquipmentDamageDate() 
    {
        return equipmentDamageDate;
    }
    public void setExperimentalApparatusId(Long experimentalApparatusId) 
    {
        this.experimentalApparatusId = experimentalApparatusId;
    }

    public Long getExperimentalApparatusId() 
    {
        return experimentalApparatusId;
    }
    public void setEquipmentDamageNum(Long equipmentDamageNum) 
    {
        this.equipmentDamageNum = equipmentDamageNum;
    }

    public Long getEquipmentDamageNum() 
    {
        return equipmentDamageNum;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setEquipmentDamageBy1(Long equipmentDamageBy1) 
    {
        this.equipmentDamageBy1 = equipmentDamageBy1;
    }

    public Long getEquipmentDamageBy1() 
    {
        return equipmentDamageBy1;
    }
    public void setEquipmentDamageBy2(String equipmentDamageBy2) 
    {
        this.equipmentDamageBy2 = equipmentDamageBy2;
    }

    public String getEquipmentDamageBy2() 
    {
        return equipmentDamageBy2;
    }
    public void setEquipmentDamageBy3(String equipmentDamageBy3) 
    {
        this.equipmentDamageBy3 = equipmentDamageBy3;
    }

    public String getEquipmentDamageBy3() 
    {
        return equipmentDamageBy3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentDamageId", getEquipmentDamageId())
            .append("laboratoryApplicationId", getLaboratoryApplicationId())
            .append("equipmentDamageDate", getEquipmentDamageDate())
            .append("experimentalApparatusId", getExperimentalApparatusId())
            .append("equipmentDamageNum", getEquipmentDamageNum())
            .append("staffId", getStaffId())
            .append("equipmentDamageBy1", getEquipmentDamageBy1())
            .append("equipmentDamageBy2", getEquipmentDamageBy2())
            .append("equipmentDamageBy3", getEquipmentDamageBy3())
                .append("staffName",getStaffName())
                .append("experimentalApparatusName",getExperimentalApparatusName())
            .toString();
    }
}
